#ifndef ADMINWINDOW_H
#define ADMINWINDOW_H

#include <QMainWindow>

namespace Ui {
class AdminWindow;
}

class AdminWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit AdminWindow(QWidget *parent = 0);
    ~AdminWindow();
    
private slots:

    void on_st_query_button_clicked();

    void on_st_add_button_clicked();

    void on_st_delete_button_clicked();

    void on_st_save_hutton_clicked();

    void on_tr_query_button_clicked();

    void on_tr_delStation_button_clicked();

    void on_tr_addStation_button_clicked();

    void on_tr_add_button_clicked();

    void on_tr_del_button_clicked();

    void on_tr_save_button_clicked();

    void on_tk_delete_button_clicked();

    void on_tk_save_button_clicked();

    void on_tk_add_button_clicked();

    void on_tk_receive_trainNum(QString trainNum);

    void on_tk_query_button_clicked();

private:
    Ui::AdminWindow *ui;

    void refreshStationList();
};

#endif // ADMINWINDOW_H
